package com.ruoyi.seedlingSys.domain.vo;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.seedlingSys.domain.Caishou;
import com.ruoyi.seedlingSys.domain.Jiagong;
import com.ruoyi.seedlingSys.domain.Zaipei;
import com.ruoyi.seedlingSys.domain.Zhilijiance;
import com.ruoyi.seedlingSys.domain.Zhongmiao;

/**
 * 批次管理对象 patch
 * 
 * @author ruoyi
 * @date 2025-03-11
 */
public class PatchVo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 批次唯一标识 */
    private Long patchID;

    /** 批次名称 */
    @Excel(name = "批次名称")
    private String patchName;

    /** 批次描述 */
    @Excel(name = "批次描述")
    private String patchDescription;

    /** 批次图片 */
    @Excel(name = "批次图片")
    private String patchImage;

    /** 关联的种苗繁育记录ID */
    @Excel(name = "关联的种苗繁育记录ID")
    private Long patchZhongMiaoID;
    private Zhongmiao zhongmiao;

    /** 关联的栽培记录ID */
    @Excel(name = "关联的栽培记录ID")
    private Long patchZaiPeiID;
    private Zaipei zaipei;

    /** 关联的采收记录ID */
    @Excel(name = "关联的采收记录ID")
    private Long patchCaiShouID;
    private Caishou caishou;

    /** 关联的加工记录ID */
    @Excel(name = "关联的加工记录ID")
    private Long patchJiaGongID;
    private Jiagong jiaGong;

    /** 关联的质量检测记录ID */
    @Excel(name = "关联的质量检测记录ID")
    private Long patchZhiLiJianCeID;
    private Zhilijiance zhilijiance;

    // 二维码信息字段
    private String qrUniqueCode; // 二维码唯一标识码
    private String qrCustomerName; // 客户名称
    private String qrCustomerPhone; // 客户电话
    private String qrCustomerAddress; // 客户地址
    private String qrProductionTime; // 生产时间
    private String qrRetailerInfo; // 零售商信息
    private String qrRetailerAddress; // 零售商地址
    private Long qrId; // 二维码ID

    // 现有方法...

    // 二维码信息字段的 getter 和 setter 方法

    public Long getQrId() {
        return qrId;
    }

    public void setQrId(Long qrId) {
        this.qrId = qrId;
    }

    public String getQrUniqueCode() {
        return qrUniqueCode;
    }

    public void setQrUniqueCode(String qrUniqueCode) {
        this.qrUniqueCode = qrUniqueCode;
    }

    public String getQrCustomerName() {
        return qrCustomerName;
    }

    public void setQrCustomerName(String qrCustomerName) {
        this.qrCustomerName = qrCustomerName;
    }

    public String getQrCustomerPhone() {
        return qrCustomerPhone;
    }

    public void setQrCustomerPhone(String qrCustomerPhone) {
        this.qrCustomerPhone = qrCustomerPhone;
    }

    public String getQrCustomerAddress() {
        return qrCustomerAddress;
    }

    public void setQrCustomerAddress(String qrCustomerAddress) {
        this.qrCustomerAddress = qrCustomerAddress;
    }

    public String getQrProductionTime() {
        return qrProductionTime;
    }

    public void setQrProductionTime(String qrProductionTime) {
        this.qrProductionTime = qrProductionTime;
    }

    public String getQrRetailerInfo() {
        return qrRetailerInfo;
    }

    public void setQrRetailerInfo(String qrRetailerInfo) {
        this.qrRetailerInfo = qrRetailerInfo;
    }

    public String getQrRetailerAddress() {
        return qrRetailerAddress;
    }

    public void setQrRetailerAddress(String qrRetailerAddress) {
        this.qrRetailerAddress = qrRetailerAddress;
    }

    public void setPatchID(Long patchID) {
        this.patchID = patchID;
    }

    public Long getPatchID() {
        return patchID;
    }

    public void setPatchName(String patchName) {
        this.patchName = patchName;
    }

    public String getPatchName() {
        return patchName;
    }

    public void setPatchDescription(String patchDescription) {
        this.patchDescription = patchDescription;
    }

    public String getPatchDescription() {
        return patchDescription;
    }

    public void setPatchImage(String patchImage) {
        this.patchImage = patchImage;
    }

    public String getPatchImage() {
        return patchImage;
    }

    public void setPatchZhongMiaoID(Long patchZhongMiaoID) {
        this.patchZhongMiaoID = patchZhongMiaoID;
    }

    public Long getPatchZhongMiaoID() {
        return patchZhongMiaoID;
    }

    public void setPatchZaiPeiID(Long patchZaiPeiID) {
        this.patchZaiPeiID = patchZaiPeiID;
    }

    public Long getPatchZaiPeiID() {
        return patchZaiPeiID;
    }

    public void setPatchCaiShouID(Long patchCaiShouID) {
        this.patchCaiShouID = patchCaiShouID;
    }

    public Long getPatchCaiShouID() {
        return patchCaiShouID;
    }

    public void setPatchJiaGongID(Long patchJiaGongID) {
        this.patchJiaGongID = patchJiaGongID;
    }

    public Long getPatchJiaGongID() {
        return patchJiaGongID;
    }

    public void setPatchZhiLiJianCeID(Long patchZhiLiJianCeID) {
        this.patchZhiLiJianCeID = patchZhiLiJianCeID;
    }

    public Long getPatchZhiLiJianCeID() {
        return patchZhiLiJianCeID;
    }

    public Zhongmiao getZhongmiao() {
        return zhongmiao;
    }

    public void setZhongmiao(Zhongmiao zhongmiao) {
        this.zhongmiao = zhongmiao;
    }

    public Zaipei getZaipei() {
        return zaipei;
    }

    public void setZaipei(Zaipei zaipei) {
        this.zaipei = zaipei;
    }

    public Caishou getCaishou() {
        return caishou;
    }

    public void setCaishou(Caishou caishou) {
        this.caishou = caishou;
    }

    public Jiagong getJiaGong() {
        return jiaGong;
    }

    public void setJiaGong(Jiagong jiaGong) {
        this.jiaGong = jiaGong;
    }

    public Zhilijiance getZhilijiance() {
        return zhilijiance;
    }

    public void setZhilijiance(Zhilijiance zhilijiance) {
        this.zhilijiance = zhilijiance;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("patchID", getPatchID())
                .append("patchName", getPatchName())
                .append("patchDescription", getPatchDescription())
                .append("patchImage", getPatchImage())
                .append("patchZhongMiaoID", getPatchZhongMiaoID())
                .append("patchZaiPeiID", getPatchZaiPeiID())
                .append("patchCaiShouID", getPatchCaiShouID())
                .append("patchJiaGongID", getPatchJiaGongID())
                .append("patchZhiLiJianCeID", getPatchZhiLiJianCeID())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
